/*
 * @Author: your name
 * @Date: 2021-08-03 10:34:40
 * @LastEditTime: 2021-08-03 16:58:51
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \hrsaas\src\utils\request.js
 */
import axios from "axios";
// create an axios instance
const service = axios.create({
  baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
  // withCredentials: true, // send cookies when cross-domain requests
  timeout: 5000 // request timeout
});

export default service;
